package hy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data//会自动添加set和get,tostring,equals,hash
@Accessors(chain = true)//让set方法返回当前对象本身
@NoArgsConstructor
@AllArgsConstructor
public class Dept {
    Integer deptno;
    String dname;
    //用来指定来自哪个数据库
    String db_source;
}
